<style type="text/css">
p.menu a {
color: #000000;
background: #9955tt;
font: 12px Verdana;
text-decoration: none;
text-align: center;
border: 1px solid #000000;
padding: 1px 5px;
margin-right:1px;
}
p.menu a:hover {
background: #a0f3ac;
}
</style>

<body>
<p class="menu">
<a href="http://localhost/sf_casa/web/rlinux_abe.php/principal/menuAdm">Menu Administração</a>
<a href="http://localhost/sf_casa/web/rlinux_abe.php/mess/create">Criar Mês</a>
<a href="http://localhost/sf_casa/web/rlinux_abe.php/mess/busca">Buscar Mês</a>
</p>
</body>

<?php
// auto-generated by sfPropelCrud
// date: 2007/10/29 14:35:48
?>
<h1>Mês Ativos</h1>

<table>
<thead>
<tr>
  <th>Id</th>
  <th>Mês</th>
  <th>Ativo</th>
  <th>Criado em</th>
  <th>Atualizado em</th>
  <th>Usuário</th>
</tr>
</thead>
<tbody>
<?php foreach ($messs as $mess): ?>
<tr>
      <?php
       if (($mess->getAtivo()) == 1) {
      ?>

    <td><?php echo link_to($mess->getId(), 'mess/show?id='.$mess->getId()) ?></td>
      <td><?php echo $mess->getMes() ?></td>
      <td><?php echo $mess->getAtivo() ?></td>
      <td><?php echo $mess->getCreatedAt() ?></td>
      <td><?php echo $mess->getUpdatedAt() ?></td>
      <td><?php echo $mess->getUsuarioId() ?></td>
      <?php } ?>
  </tr>
<?php endforeach; ?>
</tbody>
</table>
